//
//  FWAuthUser.h
//  FWShare
//
//  Created by 范文青 on 14-6-14.
//  Copyright (c) 2014年 fwq. All rights reserved.
//

#import "FWAuthObject.h"
#import "FWAccessToken.h"

@interface FWAuthUser : FWAuthObject
@property (nonatomic,strong)NSString  *avatar;
@property (nonatomic,strong)NSString  *avatar_large;
@property (nonatomic,strong)NSString  *nick;
@property (nonatomic,strong)NSString  *screen_nick;
@property (nonatomic,strong)NSString  *gender;
@property (nonatomic,strong)NSString  *udescription;
@property (nonatomic,strong)NSString  *created_at;
@property (nonatomic,strong)NSString  *media_type;
@property (nonatomic,strong)NSString  *uid;

@property (nonatomic,strong)FWAccessToken *token;

- (void)save;

+(FWAuthUser *)userByMediaType:(NSString *)meidaType;

+(FWAuthUser *)instanceSina:(NSDictionary *)dic;
+(FWAuthUser *)instanceQQWeiBo:(NSDictionary *)dic;
+(FWAuthUser *)instanceQQHL:(NSDictionary *)dic;
@end
